﻿<Window x:Class="TciNewsReader_2014_04.Controls.HelpAbout"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:infrastructure="clr-namespace:TciNewsReader_2014_04.Infrastructure"
        xmlns:controls="clr-namespace:TciNewsReader_2014_04.Controls"
        Title="{x:Static infrastructure:Constants.ApplicationTitle}" 
        WindowStartupLocation="CenterScreen" 
        Icon="/TciNewsReader-2014-04;component/Resources/Images/Identity/tyburn-geoOrb.png" 
        ShowInTaskbar="False" 
        Topmost="True" 
        SnapsToDevicePixels="True" 
        ResizeMode="NoResize" 
        WindowStyle="ToolWindow" 
        Height="400"
        Width="400"
        >
    <Grid Background="{StaticResource CustomGradientGreenEmber}">
        <Grid.Resources>
            <Style TargetType="TextBlock">
                <Setter Property="Foreground" Value="Wheat"/>
                <Setter Property="FontStyle" Value="Normal"/>
                <Setter Property="HorizontalAlignment" Value="Center"/>
                <Setter Property="FontWeight" Value="Bold"/>
            </Style>
        </Grid.Resources>
        <Image Opacity="0.15" Stretch="UniformToFill"
               Source="/TciNewsReader-2014-04;component/Resources/Images/Identity/tyburn-geoOrb.png" VerticalAlignment="Center"/>
        <StackPanel Orientation="Vertical" VerticalAlignment="Center">
            <TextBlock Text="{x:Static infrastructure:Constants.ApplicationTitle}" FontSize="40" />
            <Rectangle Height="20"/>
            <TextBlock Text="{x:Static infrastructure:Constants.ReleaseName}" FontSize="30"/>
            <Rectangle Height="20"/>
            <TextBlock Text="{x:Static infrastructure:Constants.CopyRight}" FontSize="20"/>
            <Rectangle Height="20"/>
            <TextBlock Text="{x:Static infrastructure:Constants.LicenseMajor}" FontSize="10"/>
            <Rectangle Height="20"/>
            <TextBlock HorizontalAlignment="Center" FontSize="10">
                    The home page for this application is at  
                <Hyperlink controls:LinkAttachedProperties.LinkOnClick="https://tcinewsreader.codeplex.com/">Codeplex ©</Hyperlink>
            </TextBlock>
            <Rectangle Height="20"/>
            <TextBlock HorizontalAlignment="Center" FontSize="10">
                    The tool bar images were provided by 
                <Hyperlink controls:LinkAttachedProperties.LinkOnClick="http://www.xamalot.com/">Xamalot ©</Hyperlink>
            </TextBlock>
            <Rectangle Height="20"/>
            <TextBlock HorizontalAlignment="Center" FontSize="10">
                    The button images were provided by 
                <Hyperlink controls:LinkAttachedProperties.LinkOnClick="https://www.google.com/search?q=free+microsoft+clipart">Microsoft Clip Art ©</Hyperlink>
            </TextBlock>
            <Rectangle Height="20"/>
            <Button Content="OK" Width="100" CommandParameter="false" Command="{Binding HelpAboutDoneCommand}"/>
       </StackPanel>
   </Grid>
</Window>
